<?php
require_once realpath(dirname(__FILE__) . '//..//..//pages.php');
require_once CLASS_FULL_TAG;

/**
 * This class represents HTML tag <code>button</code>.
 *
 * @author Andrea Cantafio
 */
class Button extends FullTag {
    /**
     * Creates a new button.
     * 
     * @param array $attributes [Optional]containing the attributes that will be applied to this tag.
     * The array must contain as keys the name of the attributes, pointing to their values.
     * @param string $innerHTML [Optional]HTML content that will be included before closing tag.
     */
    public function __construct ($attributes = null, $innerHTML = null) {
        $this->auto_new_line = false;
        parent::__construct ('button', $attributes, $innerHTML);
    }
}

?>
